i2c: mxc: Make 'no gpio pinctrl state' print as debug
authorJagan Teki <[email protected]>
Mon, 5 Dec 2016 23:00:59 +0000 (00:00 +0100)
committerStefano Babic <[email protected]>
Fri, 16 Dec 2016 16:15:27 +0000 (17:15 +0100)
commit2da24fe551122fcae523c1b117009c0be1dddb90
tree289bb46e6cb3af8d11526b8b3c19065da872419b
parent65c92e4f39d1e61b7c5f6b086f1fdf5fac72d6e0
i2c: mxc: Make 'no gpio pinctrl state' print as debug

Some I2C bus devicetree nodes, doesn't require to have
gpio pinctrl so replace the dev_info to debug so the
print never comes on the console and for bus that uses
gpio pinctrl anyway have dev_err.

Before:
------
U-Boot> i2c dev 1
Setting bus to 1
i2c bus 1 at 0x21a4000, no gpio pinctrl state.

After:
------
U-Boot> i2c dev 1
Setting bus to 1

Cc: Simon Glass <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Michael Trimarchi <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
drivers/i2c/mxc_i2c.c